import bluetooth

SERVICE_UUID = bluetooth.UUID(0x9021)
CHARACTER_ALLOC_MEM_UUID = bluetooth.UUID(0x9022)
CHARACTER_FREE_MEM_UUID = bluetooth.UUID(0x9023)

CHARACTER_ALLOC_MEM = (
    CHARACTER_ALLOC_MEM_UUID,
    bluetooth.FLAG_READ | bluetooth.FLAG_NOTIFY,
)

CHARACTER_FREE_MEM = (
    CHARACTER_FREE_MEM_UUID,
    bluetooth.FLAG_READ | bluetooth.FLAG_NOTIFY,
)

SERVICE = (
    SERVICE_UUID,
    (CHARACTER_ALLOC_MEM, CHARACTER_FREE_MEM),
)
